﻿@model DLM.Web.ViewModel.SalutationPageView

@{
    ViewBag.Title = "我的招呼";
    Layout = "~/Views/Shared/_Master.cshtml";
}
<script type="text/javascript">
    function onGreetSuccessed() {
        ShowDialogMessage('right', "您的操作成功了！");
    }


    function onGreetFalied() {
        ShowDialogMessage('error', "您的操作失败了，请重试！");
    }



</script>
<div class="main">
    <div class="main_tab_2">
        <div class="main_tab_2_up">
            <ul>
                <li class="current"><a href="#">有新招呼呦</a></li>
                <li><a href="#">已确认招呼</a></li>
                <li><a href="#">我打的招呼</a></li>
            </ul>
        </div>
        <div class="main_tab_2_down">
              <div id="divRequest" class="box" >
                @{Html.RenderPartial("_MyGreetRequest", Model.Requests);}
            </div>
            <div id="divGreet" class="box" style="display: none;">
                @{Html.RenderPartial("_MyGreets", Model.Greets);}
            </div>
      
            <div id="divHistory" class="box" style="display: none">
                 @{Html.RenderPartial("_MyGreetHistories", Model.Histories);}
            </div>
        </div>
    </div>
</div>

